import axios from '@/libs/api.request'

export class CustomerQuickEntryQRCodeApi {
  // 根据客户ID获取模板列表
  static GetTemplateList (id) {
    return axios.request({
      url: '/CustomerQuickEntryQRCode/GetTemplateList?id=' + id,
      method: 'get',
      enctype: 'multipart/form-data',
    })
  }

  // 生成快速入职二维码
  static Generate (params) {
    return axios.request({
      url: '/CustomerQuickEntryQRCode/Generate',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }
}
